package com.aaa.system.dao;

import com.aaa.entity.Dept;
import com.aaa.entity.User;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * @InterfaceName PeisonalCenterDao
 * @Description
 * @Author 崔灿
 * @LastChangeDate 2023/2/27 19:58
 * @Version v1.0
 */

public interface PersonalCenterDao extends BaseMapper<User> {

    @Select("select * from sys_dept where dept_id=#{id}")
    Dept selectDeptById(Integer id);

}
